<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>AlphaTab Control Demo</title>
    <link rel="stylesheet" href="control.css" />
</head>

<body>
    <div id="placeholder"></div>
    <script type="module">
        import { setupControl } from './control.ts';
        
        const req = new XMLHttpRequest();
        req.onload = function (data) {
            document.getElementById('placeholder').outerHTML = req.responseText;
            window.at = setupControl('#alphaTab');
        };
        req.open('GET', 'control-template.html');
        req.send();
    </script>
</body>

</html>